/*
* Powered By [choudou5]
* Web Site: http://www.hsolr.com
* License：MIT
* Since 2018 - 2020
*/
package com.choudou5.solr.bean.biz;

import com.choudou5.solr.framework.bean.BaseBean;

import java.util.Date;

/**
 * @name 业务数据 Bean
 * @author choudou5
 * @date：2018-08-14
 */
public class BizDataBean extends BaseBean<Integer> {

    /**
     * id ID
     */
    private Integer id;
    /**
     * biz_key
     */
    private String bizKey;
    /**
     * title 标题
     */
    private String title;
    /**
     * json_content 内容
     */
    private String jsonContent;
    /**
     * create_time 创建时间
     */
    private java.util.Date createTime;
    /**
     * update_time 更新时间
     */
    private java.util.Date updateTime;

	public BizDataBean(){
	}

	public BizDataBean( Integer id ){
			setId(id);
	}

    public BizDataBean(String bizKey, String title, String jsonContent) {
        this.bizKey = bizKey;
        this.title = title;
        this.jsonContent = jsonContent;
        this.createTime = new Date();
    }

    public Integer getId() {
        return this.id;
    }
    public void setId(Integer id) {
        this.id = id;
    }

    public String getBizKey() {
        return bizKey;
    }

    public void setBizKey(String bizKey) {
        this.bizKey = bizKey;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getJsonContent() {
        return this.jsonContent;
    }
    public void setJsonContent(String jsonContent) {
        this.jsonContent = jsonContent;
    }
    public java.util.Date getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }
    public java.util.Date getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(java.util.Date updateTime) {
        this.updateTime = updateTime;
    }
}
